Punch Card Puzzle Solution